#include<iostream>
#include<stdlib.h>
#include <type_traits>
#include <typeinfo>
using namespace std;

int main()
{
    auto type = malloc(sizeof(int));
    cout<<decltype(type).name()<<endl;
    const std::type_info& strType = typeid(type);
     std::cout << "type 的类型: " << strType.name() << std::endl;

    return 0;
}